<?php
echo validation_errors();
if(isset($affectedRows))
{
	echo$affectedRows.' poster sparades til xmlfilen';
}
if(isset($error))
{
	echo $error;
}
echo form_open('admin/invoice');
echo '<h3>start datum</h3>';
echo form_input(array('name'=>'startDate','value'=>'start date'));
echo '<h3>slut datum</h3>';
echo form_input(array('name'=>'endDate','value'=>'end date'));

echo form_submit(array('value'=>'Generera xml'));

echo form_close();


?>